package com.zty.product.service.Impl;

import com.zty.product.dataobject.ProductCategory;
import com.zty.product.repository.ProductCategoryRepository;
import com.zty.product.service.ProductCategroyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ProductCategroyServiceImpl implements ProductCategroyService {
    @Autowired
    private ProductCategoryRepository productCategoryRepository;
    @Override
    public List<ProductCategory> findByCategoryTypeIn(List<Integer> CategoryTypeList) {
        return  productCategoryRepository.findByCategoryTypeIn(CategoryTypeList);

    }
}
